package com.yf.course.modules.course.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
* <p>
* 课程直播数据传输类
* </p>
*
* @author 聪明笨狗
* @since 2021-12-03 19:31
*/
@Data
@ApiModel(value="课程直播", description="课程直播")
public class CourseLiveDTO implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "ID", required=true)
    private String id;

    @ApiModelProperty(value = "1站内2站外")
    private String liveType;

    @ApiModelProperty(value = "课程ID")
    private String courseId;

    @ApiModelProperty(value = "直播标题")
    private String title;

    @ApiModelProperty(value = "直播描述")
    private String intro;

    @ApiModelProperty(value = "RTMP推流地址")
    private String pushUrl;

    @ApiModelProperty(value = "RTMP拉流地址")
    private String pullUrl;

    @ApiModelProperty(value = "M3U8地址")
    private String m3u8Url;

    @ApiModelProperty(value = "FLV地址")
    private String flvUrl;

    @ApiModelProperty(value = "三方直播地址")
    private String outUrl;

    @ApiModelProperty(value = "开播时间")
    private Date startTime;

    @ApiModelProperty(value = "持续时长")
    private Integer duration;

    @ApiModelProperty(value = "创建人")
    private String createBy;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
    
}
